import type { MockMethod } from 'vite-plugin-mock'
import chalk from 'chalk'

// 退出
const abnormalInfo = {
  url: '/api/cgjybzIndustryAnomalyIndex/getAbnormalIndicatorsOnHomepage',
  method: 'get',
  response: {
    code: 0,
    msg: 'success',
    data: {
      total: 11,
      anomalyIndex: 2
    }
  }
}

const server = [
  // 异常
  abnormalInfo
]

console.log(chalk.magentaBright('\nquota mock server running!'))

export default server as MockMethod[]
